PhpOffice\PhpSpreadsheet\Calculation\DateTime D

Total Complexity 298
Dependencies 5
Dependents 5
Total lines 1,596
Lines of code 890
Logical lines of code 647
Comment lines 534
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
DATEVALUE()
D
31 34 98
WORKDAY()
C
36 30 71
YEARFRAC()
C
37 28 68
DATEDIF()
C
35 23 84
TIME()
B
37 23 73
DATE()
B
41 24 52
WEEKDAY()
B
44 16 46
NETWORKDAYS()
A
44 14 46
dateDiff360()
A
53 11 21
TIMEVALUE()
A
46 10 33
WEEKNUM()
A
50 8 28
SECOND()
S
53 7 22
MINUTE()
S
53 7 22
HOUROFDAY()
S
53 7 22
EOMONTH()
S
52 6 23
EDATE()
S
55 6 20
DAYOFMONTH()
S
56 6 17
getDateValue()
S
57 6 17
DAYS360()
S
54 4 22
adjustDateByMonths()
S
54 4 21
DATENOW()
S
56 4 19
DATETIMENOW()
S
57 4 18
MONTHOFYEAR()
S
60 4 13
ISOWEEKNUM()
S
61 4 12
YEAR()
S
61 4 12
isLeapYear()
S
76 3 3
getTimeValue()
S
69 1 7